/**
 * Created with JetBrains WebStorm.
 * User: basil
 * Date: 13-8-17
 * Time: ä¸‹åˆ6:02
 * To change this template use File | Settings | File Templates.
 */
(function (_kissy, _window) {
    var _dom = _kissy.DOM;
    var _event = _kissy.Event;
    var _document = document;
    var _domain="";
    var _assetsDomain="";
    var _dailyDomain="";
    var _dailyAssetsDomain="";
    //2014-05-27 basilwang debug=trueä¸”dailyä¸ºfalseæ—¶ä¸ºæœ¬åœ°æ¨¡å¼ï¼Œdebug=trueä¸”dailyä¸ºtrueæ—¶ä¸ºé˜¿é‡Œäº‘æ¨¡å¼ï¼Œdebug=falseä¸ºçº¿ä¸Šæ¨¡ï¿
    var _debug=true;
    var _daily=false;
    var _config = _window.g_config = _window.g_config || {
        debug:_debug,
        daily:_daily,
        domain:_domain,
        assetsDomain:_assetsDomain,
        dailyDomain:_dailyDomain,
        dailyAssetsDomain:_dailyAssetsDomain,
        basePath:(_debug?(_daily?_dailyDomain:""):_domain),
        t:"20141106"
    };
    var _timestamp = _config.t || new Date();
    _kissy.config({
        packages: [
            {
                name: "spring",
                path: _config.basePath+"/static/apps/spring/build",
                charset: "utf-8",
                combine: false,
                tag: _timestamp,
                ignorePackageNameInUri: true,
                debug: true
            }
        ],
        modules: {
            'sizzle':{
                alias: ['node']
            },
            'hello':{
                alias: ['spring/hello/1.0.0/']
            }

        }
    });


})(KISSY, window);